<?php if ($this->_var['new_goods']): ?>
  <?php $_from = $this->_var['new_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_71028300_1344084930');$this->_foreach['new_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['new_list']['total'] > 0):
    foreach ($_from AS $this->_var['goods_0_71028300_1344084930']):
        $this->_foreach['new_list']['iteration']++;
?>
  <?php if ($this->_foreach['new_list']['iteration'] % 7 == 1): ?>
	  <?php if (($this->_foreach['new_list']['iteration'] - 1) == 0): ?>
	  <div class="col_box">
	  <?php else: ?>
	  <div class="col_box2">
	  <?php endif; ?>
	  <div class="col_fix_1">
	  <h3>最新单品</h3>
  <?php elseif ($this->_foreach['new_list']['iteration'] % 7 == 5): ?>
	<div class="col_fix_2">
  <?php endif; ?>
           <a href="<?php echo $this->_var['goods_0_71028300_1344084930']['url']; ?>">
				<?php if (($this->_foreach['new_list']['iteration'] - 1) % 7 < 4): ?>
				<img src="<?php echo $this->_var['goods_0_71028300_1344084930']['thumb']; ?>" width="170" height="120" alt="<?php echo htmlspecialchars($this->_var['goods_0_71028300_1344084930']['name']); ?>" />
				<?php else: ?>
				<img src="<?php echo $this->_var['goods_0_71028300_1344084930']['thumb']; ?>" width="140" height="120" alt="<?php echo htmlspecialchars($this->_var['goods_0_71028300_1344084930']['name']); ?>" />
				<?php endif; ?>
				<dl>
                    <dt><?php echo $this->_var['goods_0_71028300_1344084930']['name']; ?><img src="themes/custom/images/site/arrow.png" /></dt>
                    <dd class="price">
						<span class="rmb">RMB</span>
						<?php if ($this->_var['goods_0_71028300_1344084930']['promote_price'] != ""): ?>
						<?php echo $this->_var['goods_0_71028300_1344084930']['promote_price']; ?>
						<?php else: ?>
						<?php echo $this->_var['goods_0_71028300_1344084930']['shop_price']; ?>
						<?php endif; ?>
						<span class="change">.00</span>
					</dd>
                </dl>
			</a>
	<?php if (($this->_foreach['new_list']['iteration'] - 1) % 7 == 3): ?>
		</div>
	<?php elseif (($this->_foreach['new_list']['iteration'] - 1) % 7 == 6): ?>
		</div>
		<?php if (($this->_foreach['new_list']['iteration'] - 1) / 7 != 0): ?>
		</div>
		<?php else: ?>
		</div>
		<?php endif; ?>
	<?php endif; ?>
	
  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
<?php endif; ?>
